package com.ruoyi.common.enums.friendRequest;

//好友申请状态：0-待处理，1-同意，2-拒绝
public enum FriendRequestStatus {

    WAIT_FOR_HANDLE(0, "待处理"), YES(1, "同意"), REJECT(2, "拒绝");

    private final Integer code;
    private final String info;

    FriendRequestStatus(Integer code, String info){
        this.code = code;
        this.info = info;
    }

    public Integer getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }

}
